.class public Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapActivity;
.super Landroid/app/Activity;
.source "JumptapActivity.java"


# static fields
.field static sIsShowingNow:Z

.field static sJumptapActivity:Landroid/app/Activity;


# instance fields
.field private mAdaptor:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 31
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 4
    .parameter "savedInstanceState"

    .prologue
    const/4 v3, 0x0

    const/4 v2, -0x2

    .line 50
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 51
    invoke-static {p0}, Lcom/burstly/lib/BurstlySdk;->init(Landroid/content/Context;)V

    .line 52
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->sJumptapAdaptor:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapActivity;->mAdaptor:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;

    .line 54
    sput-object v3, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->sJumptapAdaptor:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;

    .line 55
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapActivity;->mAdaptor:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;

    if-nez v1, :cond_0

    .line 56
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapActivity;->finish()V

    .line 62
    :goto_0
    return-void

    .line 59
    :cond_0
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapActivity;->mAdaptor:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;

    iget-object v0, v1, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mInterstitialView:Lcom/jumptap/adtag/JtAdInterstitial;

    .line 60
    .local v0, interstitialView:Lcom/jumptap/adtag/JtAdInterstitial;
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapActivity;->mAdaptor:Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;

    iput-object v3, v1, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapAdaptor;->mInterstitialView:Lcom/jumptap/adtag/JtAdInterstitial;

    .line 61
    new-instance v1, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v1, v2, v2}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {p0, v0, v1}, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapActivity;->setContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0
.end method

.method protected onDestroy()V
    .locals 1

    .prologue
    .line 72
    const/4 v0, 0x0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapActivity;->sJumptapActivity:Landroid/app/Activity;

    .line 73
    const/4 v0, 0x0

    sput-boolean v0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapActivity;->sIsShowingNow:Z

    .line 74
    invoke-super {p0}, Landroid/app/Activity;->onDestroy()V

    .line 75
    return-void
.end method

.method protected onResume()V
    .locals 0

    .prologue
    .line 66
    sput-object p0, Lcom/burstly/lib/component/networkcomponent/jumptap/JumptapActivity;->sJumptapActivity:Landroid/app/Activity;

    .line 67
    invoke-super {p0}, Landroid/app/Activity;->onResume()V

    .line 68
    return-void
.end method
